//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.rightin.serialportapi;

import java.io.FileDescriptor;

public class SerialPortJNI {
    public FileDescriptor mFd;
    public int mDevNum;
    public int mSpeed;
    public int mDataBits;
    public int mStopBits;
    public int mParity;

    public SerialPortJNI() {
    }

    public native int setSpeed(FileDescriptor var1, int var2);

    public native int setParity(FileDescriptor var1, int var2, int var3, int var4);

    public native FileDescriptor openDev(String var1);

    public native int closeDev(FileDescriptor var1);

    public native int readBytes(FileDescriptor var1, byte[] var2, int var3);

    public native boolean writeBytes(FileDescriptor var1, byte[] var2, int var3);

    static {
        System.loadLibrary("rt_serialport");
    }
}
